import request from '../../utils/request'

//查询当前自测信息
export function selectStudentProcessByNumOrPhone(key) {
  return request({
    url: `/fom/stuprocess/selectStudentProcessByNumOrPhone/${key}`,
    method: 'get',
    params: {}
  })
}

//更新当前流程状态
export function updateProcessById(id, current) {
  return request({
    url: `/fom/stuprocess/update`,
    method: 'post',
    data: {
      id,
      current
    }
  })
}
